package cn.ljy.authority.model;

import cn.ljy.common.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 网站设置类
 *
 * @author ljy
 * @date 2022/11/13
 */
@ApiModel(value = "网站配置类")
@Data
@NoArgsConstructor
public class SysConfig extends BaseModel {

    @ApiModelProperty(value = "ID主键")
    private Integer id;

    @ApiModelProperty(value = "配置名称")
    private String name;

    @ApiModelProperty(value = "是否启用")
    private Boolean enable;

    @ApiModelProperty(value = "是否允许一个账户同时在不同地点登录-默认指后台")
    private Boolean allowLoginInTheSameTime;

    @ApiModelProperty(value = "是否允许一个账户同时在多个前台登录")
    private Boolean allowLoginInTheSameTimeOfFrontend;

    @ApiModelProperty(value = "是否允许一个账户同时在相同的前台类型登录")
    private Boolean allowLoginInTheSameTimeOfTheSameFrontend;

}
